package edu.wfu.preparedDishes.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;

import edu.wfu.preparedDishes.commodity.entity.CommoditySpuEntity;
import edu.wfu.preparedDishes.commodity.entity.commodityVo;
import edu.wfu.preparedDishes.common.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 商品spu表;
 *
 * @author hero_miracle
 * @email hero_miracle@gmail.com
 * @date 2023-11-21 19:21:25
 */
public interface CommoditySpuService extends IService<CommoditySpuEntity> {

    List<commodityVo> queryCommodities(int pageSize, int offset, String orderBy,String merchantId,String spuNameLike,String classification,String spuId);

    CommoditySpuEntity getCommodityBySpuId(String spuId);
}

